package com.project.restaurant.user.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UpdateEmailParam {
    @NotEmpty
    private String newEmail;
    @NotEmpty
    private String olderEmail;
    @NotEmpty
    private String authCode;
}
